package com.shuiyun.jtt.entity.bo;

import com.shuiyun.jtt.utils.codec.DataType;
import com.shuiyun.jtt.utils.codec.FieldValue;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author shuiyun
 * @program gateway
 * @description 命令-行驶里程设置
 * @date 2022-05-16 00:30
 **/
@Data
public class CommandMileage {

    @FieldValue(type = DataType.BCD,desc = "记录仪实时时间")
    private Date realTime;

    @FieldValue(type = DataType.BCD,desc = "记录仪初次安装时间")
    private Date installTime;

    @FieldValue(type = DataType.BCD8421,length = 4,desc = "初始里程")
    private Integer initialMileage;

    @FieldValue(type = DataType.BCD8421,length = 4,desc = "累计里程")
    private Integer cumulativeMileage;
}
